\name{ct_p_map}
\alias{ct_p_map}
\title{
  Plots the location of the stadiums into a map
}
\description{
  This function uses the geografical coordinates information of the stadium locations and plots them into a map
  The map can be returned or saved as a pdf
  The following packages need to be installed for proper usage: maps, mapproj, maptools
  See library(maps), library(mapproj), library(maptools)
}
\usage{
  ct_p_map(data, savePDF=FALSE)
}
\arguments{
  \item{data}{
    table with georeference data for stadiums including longitue and latitude for each club 
    as well as the clubname abbrevations 
  }
}
\examples{
  # Load geografical coordinate data
  
  data(coordinates_bundesliga_12_13)
 
  
  # Plot Bundesliga football stadiums in Germany-map
  
  map("world", "Germany", col="grey80", fill=TRUE)
  title("Bundesliga football stadiums")
  
  # Save the map as a PDF
  
  pdf("map.pdf", width = 7.8, height = 11.2, paper = "a4", pointsize = 8)
  ct_map(data)
  dev.off()
}
\keyword{ misc }


